package ln.javatest.day07.demo07;

public class Fu {
    public Fu(){
        System.out.println("父类无参构造方法！");
    }

    //父类有参构造
    public Fu(int num){
       //因为是有参构造了，编译器只赠送父类无参构造方法
        System.out.println("父类有参构造方法！");
    }
}
